import matplotlib.pyplot as plt
from matplotlib import rcParams

# 设置字体
rcParams['font.sans-serif'] = ['Microsoft YaHei', 'SimHei', 'Arial Unicode MS', 'sans-serif']
rcParams['axes.unicode_minus'] = False  # 解决负号显示问题

def draw_improvement_suggestions_chart():
    labels = ['用户界面优化', '推荐算法提升', '数据安全性加强', '功能模块扩展']
    sizes = [25, 25, 25, 25]  # 假设的改进建议分布

    plt.pie(sizes, labels=labels, autopct='%1.1f%%', startangle=140)
    plt.axis('equal')
    plt.title('系统改进建议分布')
    plt.savefig('improvement_suggestions_chart.png')
    plt.show()

if __name__ == "__main__":
    draw_improvement_suggestions_chart() 